from __future__ import annotations


from game.config import *
from game.utils.grid_util import grid_parser
import arcade

class FoodEntity:
    def __init__(self,r,c):
        # 食物初始化
        self.r=r
        self.c=c
        pass

    def draw(self):
        # 画食物
        x,y=grid_parser.calc_xy_by_rc(self.r,self.c)
        arcade.draw_circle_filled(x,y,CELL_LEN//2,arcade.color.YELLOW_GREEN)
        pass

